package com.ev.hr.domain;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 文件名称： com.ev.hr.domain.PostInfoDO.java</br>
 * 初始作者： ev-monitor</br>
 * 创建日期： 2020-05-08 09:47:13</br>
 * 功能说明： 岗位信息 <br/>
 * =================================================<br/>
 * 修改记录：<br/>
 * 修改作者        日期       修改内容<br/>
 * ================================================<br/>
 * Copyright (c) 2020-2021 .All rights reserved.<br/>
 */
@Data
@ApiModel(value = "岗位信息")
@NoArgsConstructor
@AllArgsConstructor
public class PostInfoDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//ID
    @ApiModelProperty(value = "ID")
	private Long id;
	//公司id
    @ApiModelProperty(value = "公司id")
	private Long companyId;
	//部门id
    @ApiModelProperty(value = "部门id")
	private Long deptId;
	//编号
    @ApiModelProperty(value = "编号")
	private String postCode;
	//岗位名称
    @ApiModelProperty(value = "岗位名称")
	private String postName;
	//岗位层级
    @ApiModelProperty(value = "岗位层级")
	private Long postLevel;
	//岗位序列
    @ApiModelProperty(value = "岗位序列")
	private Long postIndex;
	//起薪等级
    @ApiModelProperty(value = "起薪等级")
	private String salaryLevel;
	//是否编制(1是0否)
    @ApiModelProperty(value = "是否编制(1是0否)")
	private Integer isAuthorized;
	//编制人数
    @ApiModelProperty(value = "编制人数")
	private Integer authorizedCounts;
	//状态
    @ApiModelProperty(value = "状态")
	private Long postState;
	//任职要求
    @ApiModelProperty(value = "任职要求")
	private String jobRequirements;
	//岗位职责
    @ApiModelProperty(value = "岗位职责")
	private String responsibilities;
	//创建人
    @ApiModelProperty(value = "创建人", hidden = true)
	private Long createBy;
	//创建时间
    @ApiModelProperty(value = "创建时间", example = "2020-05-08 09:47:13", hidden = true)
	private Date createTime;
	//修改人
    @ApiModelProperty(value = "修改人", hidden = true)
	private Long updateBy;
	//修改时间
    @ApiModelProperty(value = "修改时间", example = "2020-05-08 09:47:13", hidden = true)
	private Date updateTime;
	//删除状态
    @ApiModelProperty(value = "删除状态", hidden = true)
	private Integer delFlag;

	public PostInfoDO(Long id, Long deptId, String postCode, String postName) {
		this.id = id;
		this.deptId = deptId;
		this.postCode = postCode;
		this.postName = postName;
	}
}
